package com.solution.dao;

import com.solution.exception.DAOException;
import com.solution.model.UserRolePermission;

/**
 * Exposes the CRUD functionalities for the Role related  table.
 *
 */
public interface UserRolePermissionDAO extends DAO<UserRolePermission>{

	/**
	 * Delete all the permissions entry for roleID from  User_role_permission table
	 * @param roleID
	 * @throws DAOException
	 */
	public int deleteAllPermissionForRole(Long roleID)  throws DAOException;
}
